package com.safewind.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.safewind.dao.RestValueDao;
import com.safewind.model.RestValue;
import com.safewind.service.IRestValueService;

@Service("restValueService")
public class RestValueServiceImpl implements IRestValueService {

	@Resource
	private RestValueDao restValueDao;

	@Override
	public void updateRestValue(RestValue rv) {
		restValueDao.updateRestValue(rv);
	}

	@Override
	public RestValue getRestValue() {
		return restValueDao.getRestValue();
	}

}
